package com.huishu.order.service;

import com.huishu.commons.pojo.BasePage;
import com.huishu.commons.pojo.Result;
import com.huishu.order.pojo.model.ProvinceFreightDO;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author generator@ljj
 * @since 2023-04-27
 */
public interface ProvinceFreightService extends IService<ProvinceFreightDO> {

    /**
     * 计算运费
     * @param province
     * @return
     */
    Result getFreight(String province);

    /**
     * 分页查询
     * @param basePage
     * @return
     */
    Result pageList(BasePage basePage);
}
